package com.ilovepostcard.model;

import java.io.Serializable;

public class Postcard implements Serializable {
    
    private static final long serialVersionUID = 2092586961548716333L;
    
    public long PostcardID; //明信片ID, 类型：Int64
    public double Longitude; //经度，类型：Double
    public double Latitude; //维度，类型：Double
    public String Location; //地点 文字
    public String ToFriendWords; //寄语，类型：String
    public String Story; //故事，类型：String
    public String PublishTime; //"2012-03-23 21:12:53 ", //发布时间，类型：DateTime
    public int Likes; //喜欢的人数，类型：Int32
    public int Comments; //评论的次数，类型：Int32
    public int Favorite; //收藏的次数，类型：Int32
    public boolean IsShowWords; //是否公开寄语，类型：Boolean
    public long UserID; //发布用户ID，类型：Int64
    public boolean IsHorizontal; //true表示图片是横图，false表示图片是竖图
    public String ThumImgUrl; //缩略图URL，类型：String
    public String PerviewImgUrl; //预览图URL，类型：String
    public int ViewPermission; //是否公开(0=公开，1=不公开)，类型：Int32
    public int LocationPermission; //是否显示位置(0=公开，1=不公开)，类型：Int32
    public String TagIn; //标签，多个标签用逗号分隔（如：风景,人物,创意），类型：String
    public int Status; //明信片状态(0=正常，1=已删除) ，类型：Int32
    
    public boolean isOffline = false;
    public String offlineName;
    public String imagePath;

}
